Azure Logs
Follow the steps to send logs from various Azure resources to the ObserveNow stack:
-
Create an Azure Event Hub following this document.
-
Navigate to the
Diagnostic Settingof the resource whose logs will be sent. -
Select
Add diagnostic settingand select the log categories to be exported. -
Select
Stream to an event hubin the destination details section and add the details of the event hub created in the first step. -
Log into the StackGen Console and navigate to your ObserveNow stack.
-
Under the stack details navigate to Integrations --> Azure Integration --> Logs and select
Enable. -
Fill in the connection string of the event hub in the text box and hit save. To get the connection string for your event hub follow this document.
Once all the above steps are completed successfully, the logs should appear in Grafana with the label: {job="loki.source.azure_event_hubs"}